import yagmail

from commcon import log_get, send_mail
import pytest

if __name__ == '__main__':
    log_get()
    pytest.main(['./','-s','--html=baogao.html'])
    send_mail(['log.txt','baogao.html'])
